package com.baizhi.entity;

import java.util.Date;
/**
 * @author 王雪洋
 * @Time 2017年5月1日 下午8:32:24
 * @disc:用户实体类
 */
public class User {
	private Integer userid;
	private String useremail;
	private String usernickname;//用户昵称
	private String userpassword;
	private String userflag;//用户激活状态
	private Date usercretime;//用户创建时间
	private String usersalt;//用户加密随机盐
	
	public User() {
		super();
	}

	public User(Integer userid, String useremail, String usernickname, String userpassword, String userflag,
			Date usercretime, String usersalt) {
		super();
		this.userid = userid;
		this.useremail = useremail;
		this.usernickname = usernickname;
		this.userpassword = userpassword;
		this.userflag = userflag;
		this.usercretime = usercretime;
		this.usersalt = usersalt;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUseremail() {
		return useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public String getUsernickname() {
		return usernickname;
	}

	public void setUsernickname(String usernickname) {
		this.usernickname = usernickname;
	}

	public String getUserpassword() {
		return userpassword;
	}

	public void setUserpassword(String userpassword) {
		this.userpassword = userpassword;
	}

	public String getUserflag() {
		return userflag;
	}

	public void setUserflag(String userflag) {
		this.userflag = userflag;
	}

	public Date getUsercretime() {
		return usercretime;
	}

	public void setUsercretime(Date usercretime) {
		this.usercretime = usercretime;
	}

	public String getUsersalt() {
		return usersalt;
	}

	public void setUsersalt(String usersalt) {
		this.usersalt = usersalt;
	}

	@Override
	public String toString() {
		return "User [userid=" + userid + ", useremail=" + useremail + ", usernickname=" + usernickname
				+ ", userpassword=" + userpassword + ", userflag=" + userflag + ", usercretime=" + usercretime
				+ ", usersalt=" + usersalt + "]";
	}
}
